<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      padding: 0;
    }
    .test label{
      width: 200px;
      text-align: right;
    }
    .test div{
      display: flex;
      align-items: flex-start;
      height: 50px;

    }
  </style>

</head>
<body>
  <div class="test">
    <div>
      <label for="">姓名：</label>
      <input type="text">
    </div>
    <div>
      <label for="">请输入密码：</label>
      <input type="text">
    </div>
  </div>
</body>
</html>
